package com.lky.swagger2pro.model;

import java.io.Serializable;

import com.lky.swagger2pro.util.JsonResponseBody;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import springfox.documentation.annotations.ApiIgnore;

/**
 * t_book
 * @author 
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value="书本对象")
public class Book implements Serializable {
    /**
     * 书本编号
     * @ApiModelProperty
     * 1) value:字段说明
     * 2) name:重写属性名字
     * 3) dataType:重写属性类型
     * 4) required:是否必填
     * 5) example:举例说明
     * 6) hidden:在文档中隐藏
     * 7) notes:注释说明
     */
    @ApiModelProperty(value="书本编号")
    private String bookid;

    /**
     * 书本名称
     */
    @ApiModelProperty(value="书本名称")
    private String bookname;

    /**
     * 书本价格
     */
    @ApiModelProperty(value="书本价格")
    private Double price;

    /**
     * 书本类型
     */
    @ApiModelProperty(value="书本类型")
    private String booktype;

    private static final long serialVersionUID = 1L;
}